package com.ruoyi.psi.sale.salereturn.domain;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * 销售订单退货详细表
 * psi_sale_return_list
 * 修改：lsy 2021.7.17
 */
public class SaleReturnList extends BaseEntity {

    /**
     * 销售订单退货编号
     */
    @NotNull(message = "销售订单退货编号不能为空")
    @ApiModelProperty(value = "销售订单退货编号", required = true)
    private String saleReturnId;
    /**
     * 产品编号
     */
    @NotNull(message = "产品编号不能为空")
    @ApiModelProperty(value = "产品编号", required = true)
    private String produceId;
    /**
     * 产品名称
     */
    @ApiModelProperty("产品名称")
    @Excel(name = "产品名称")
    private String produceName;
    /**
     * 类别编号
     */
    @ApiModelProperty("类别编号")
    @Excel(name = "类别编号")
    private String baseCategoryId;
    /**
     * 类别名称
     */
    @ApiModelProperty("类别名称")
    @Excel(name = "类别名称")
    private String baseCategoryName;
    /**
     * 计量单位编号
     */
    @ApiModelProperty("计量单位编号")
    @Excel(name = "计量单位编号")
    private String baseUnitId;
    /**
     * 计量单位名称
     */
    @ApiModelProperty("计量单位名称")
    @Excel(name = "计量单位名称")
    private String baseUnit;
    /**
     * 产品规格
     */
    @ApiModelProperty("产品规格")
    @Excel(name = "产品规格")
    private String produceSpecs;
    /**
     * 销售退货数量
     */
    @ApiModelProperty("销售退货数量")
    private double saleReturnNumber;
    /**
     * 销售单价
     */
    @ApiModelProperty("销售单价")
    private double saleReturnUnitPrice;
    /**
     * 销售退货金额
     */
    @ApiModelProperty("销售退货金额")
    private double saleReturnPrice;
    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

    @Override
    public String toString() {
        return "SaleReturnList{" +
                "saleReturnId='" + saleReturnId + '\'' +
                ", produceId='" + produceId + '\'' +
                ", produceName='" + produceName + '\'' +
                ", baseCategoryId='" + baseCategoryId + '\'' +
                ", baseCategoryName='" + baseCategoryName + '\'' +
                ", baseUnitId='" + baseUnitId + '\'' +
                ", baseUnit='" + baseUnit + '\'' +
                ", produceSpecs='" + produceSpecs + '\'' +
                ", saleReturnNumber=" + saleReturnNumber +
                ", saleReturnUnitPrice=" + saleReturnUnitPrice +
                ", saleReturnPrice=" + saleReturnPrice +
                ", remark='" + remark + '\'' +
                '}';
    }

    public String getSaleReturnId() {
        return saleReturnId;
    }

    public void setSaleReturnId(String saleReturnId) {
        this.saleReturnId = saleReturnId;
    }

    public String getProduceId() {
        return produceId;
    }

    public void setProduceId(String produceId) {
        this.produceId = produceId;
    }

    public String getProduceName() {
        return produceName;
    }

    public void setProduceName(String produceName) {
        this.produceName = produceName;
    }

    public String getBaseCategoryId() {
        return baseCategoryId;
    }

    public void setBaseCategoryId(String baseCategoryId) {
        this.baseCategoryId = baseCategoryId;
    }

    public String getBaseCategoryName() {
        return baseCategoryName;
    }

    public void setBaseCategoryName(String baseCategoryName) {
        this.baseCategoryName = baseCategoryName;
    }

    public String getBaseUnitId() {
        return baseUnitId;
    }

    public void setBaseUnitId(String baseUnitId) {
        this.baseUnitId = baseUnitId;
    }

    public String getBaseUnit() {
        return baseUnit;
    }

    public void setBaseUnit(String baseUnit) {
        this.baseUnit = baseUnit;
    }

    public String getProduceSpecs() {
        return produceSpecs;
    }

    public void setProduceSpecs(String produceSpecs) {
        this.produceSpecs = produceSpecs;
    }

    public double getSaleReturnNumber() {
        return saleReturnNumber;
    }

    public void setSaleReturnNumber(double saleReturnNumber) {
        this.saleReturnNumber = saleReturnNumber;
    }

    public double getSaleReturnUnitPrice() {
        return saleReturnUnitPrice;
    }

    public void setSaleReturnUnitPrice(double saleReturnUnitPrice) {
        this.saleReturnUnitPrice = saleReturnUnitPrice;
    }

    public double getSaleReturnPrice() {
        return saleReturnPrice;
    }

    public void setSaleReturnPrice(double saleReturnPrice) {
        this.saleReturnPrice = saleReturnPrice;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }
}
